package com.sport.model.setting.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 单项比赛项目设置
 */
@Data
@TableName("sport_events_games")
public class SportEventsGames {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 运动会项目名称
     */
    @TableField("sport_events_name")
    private String sportEventsName;

    /**
     * 项目类型，1为径赛，2为田赛，3为接力赛
     */
    @TableField("sport_events_type")
    private Integer sportEventsType;

    /**
     * 项目子类型
     */
    @TableField("sport_events_son_type")
    private String sportEventsSonType;

    @TableField(value = "school_tenement_id")
    private String schoolTenementId;
}
